package org.example.myleet.p1049;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.lastStoneWeightII(new int[]{2,7,4,1,8,1}));
        Assert.isTrue(5 == solution.lastStoneWeightII(new int[]{31,26,33,21,40}));
        Assert.isTrue(1 == solution.lastStoneWeightII(new int[]{1,2}));
        Assert.isTrue(1 == solution.lastStoneWeightII(new int[]{1}));
    }
}
